const {  Router} = require('express')
const usercon = require('../controller/usercon')
// const express = require('express')
// Router = express.Router

    var app = Router()

app.get('/register',   usercon.register )
app.post('/register',   usercon.registerPost )
app.get('/login', usercon.login )
app.post('/login', usercon.loginPost )




app.get(/^\/$|^\/index$/, usercon.index )
app.get('/classify', usercon.classify )
module.exports = app